package com.risk.kernel.domain;

import com.risk.common.annotation.Excel;
import com.risk.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.lang.reflect.Array;

/**
 * @author: Liwen
 * @createTime: 2025/1/2
 * @description:
 */
public class TkTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 需求id
     */
    private String id;

    /**
     * 归属模块
     */
    @Excel(name = "归属模块")
    private String modelName;

    /**
     * 需求地址id
     */
    @Excel(name = "需求地址id")
    private String taskId;

    /**
     * 需求名称
     */
    @Excel(name = "需求名称")
    private String taskName;

    /**
     * 分支
     */
    @Excel(name = "分支")
    private String branch;

    /**
     * 测试人员
     */
    @Excel(name = "测试人员")
    private String testCaseName;

    /**
     * 开发人员
     */
    @Excel(name = "开发人员")
    private String devCaseName;

    /**
     * 开发时间
     */
    @Excel(name = "开发时间")
    private String devUseTime;

    /**
     * 测试时间
     */
    @Excel(name = "测试时间")
    private String testUseTime;

    /**
     * 上线时间
     */
    private String onlineTime;

    private Boolean isOnline;
    private String [] devUseTimeArr;
    private String []  testUseTimeArr;


    public void setDevUseTimeArr(String []  devUseTimeArr) {
        this.devUseTimeArr = devUseTimeArr;
    }

    public String []  getDevUseTimeArr() {
        return devUseTimeArr;
    }

    public void setTestUseTimeArr(String []  testUseTimeArr) {
        this.testUseTimeArr = testUseTimeArr;
    }

    public String []  getTestUseTimeArr() {
        return testUseTimeArr;
    }

    public void setIsOnline(Boolean isOnline) {
        this.isOnline = isOnline;
    }

    public boolean getIsOnline() {
        return isOnline;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getBranch() {
        return branch;
    }

    public void setTestCaseName(String testCaseName) {
        this.testCaseName = testCaseName;
    }

    public String getTestCaseName() {
        return testCaseName;
    }

    public void setDevCaseName(String devCaseName) {
        this.devCaseName = devCaseName;
    }

    public String getDevCaseName() {
        return devCaseName;
    }

    public void setDevUseTime(String devUseTime) {
        this.devUseTime = devUseTime;
    }

    public String getDevUseTime() {
        return devUseTime;
    }

    public void setTestUseTime(String testUseTime) {
        this.testUseTime = testUseTime;
    }

    public String getTestUseTime() {
        return testUseTime;
    }

    public void setOnlineTime(String onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getOnlineTime() {
        return onlineTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("modelName", getModelName())
                .append("taskId", getTaskId())
                .append("taskName", getTaskName())
                .append("branch", getBranch())
                .append("testCaseName", getTestCaseName())
                .append("devCaseName", getDevCaseName())
                .append("devUseTime", getDevUseTime())
                .append("testUseTime", getTestUseTime())
                .append("onlineTime", getOnlineTime())
                .append("createBy", getCreateBy())
                .append("isOnline", getIsOnline())
                .append("testUseTimeArr", getTestUseTimeArr())
                .append("devUseTimeArr", getDevUseTimeArr())
                .toString();
    }
}
